package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/5
 * @desc 系统菜单
 */

@Document
@Setter
@Getter
@ApiModel(value = "系统菜单")
public class SystemMenuT extends BaseDocument {

    /** 图标 */
    @ApiModelProperty(value = "图标")
    private String icon;

    /** 菜单名称 */
    @ApiModelProperty(value = "菜单名称")
    private String name;

    /** 地址 */
    @ApiModelProperty(value = "地址")
    private String url;

    /** 父级ID */
    @ApiModelProperty(value = "父级ID")
    private String pid;

    /** 级别 */
    @ApiModelProperty(value = "级别")
    private int state;

}
